package com.zgf.easy.proxy.demo.extend.user;

import com.zgf.easy.proxy.demo.extend.user.mode.UserReq;
import com.zgf.easy.proxy.demo.extend.user.mode.UserRes;

import java.util.concurrent.Future;

/**
 * @project: easy_proxy_parent
 * @author: zgf1
 * @date: 2021/12/26 15:39
 */
public interface UserExtendApi {

    /**
     * easy_proxy必须配置异步化线程池且返回Future，否则同步调用
     * @param req
     * @return
     */
    Future<UserRes> getUser(UserReq req);

}
